package shark.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import shark.user.model.SysDepartTreeModel;
import shark.user.spi.entity.SysDepart;

import java.util.List;

public interface ISysDepartService extends IService<SysDepart> {

    /**
     * 查询指定部门信息,并分节点进行显示
     * @return
     */
    List<SysDepartTreeModel> queryMyDeptTreeList(String departIds);

    /**
     * 查询所有部门信息,并分节点进行显示
     * @return
     */
    List<SysDepartTreeModel> queryTreeList();
}
